<template>
  <div>Child</div>
</template>

<script>
export default {
  name: "Child",
  inject: ["name", "age"],
  mounted() {
    console.log(this);
  },
};
</script>

<style>
</style>